package org.systm.adminuser.controller;

import org.global.basic.BasicController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.systm.adminuser.entity.UserPermission;
import org.systm.adminuser.params.UserPermissionParams;
import org.systm.adminuser.service.UserPermissionService;

import javax.annotation.Resource;

@RestController
@RequestMapping("/admin/permission")
public class AdminPermissionController extends BasicController<String, UserPermission, UserPermissionParams<String>, UserPermissionService> {
    @Resource
    UserPermissionService userPermissionService;
    @Override
    public UserPermissionService service() {
        return this.userPermissionService;
    }
}
